package com.gugee.ins.common.model.mysql.mark;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * ins大博主国家、分类、粉丝数、粉丝增长数打点表
 * </p>
 *
 * @author HuangXin
 * @since 2021-01-06
 */
@TableName(value = "ins_mark_blogger_day")
@Data
public class InsMarkBloggerDay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 博主id
     */
    private Long uid;

    /**
     * 分类
     */
    @TableField(value = "category_name")
    private String categoryName;

    /**
     * 国家
     */
    private String nation;

    /**
     * 粉丝数
     */
    @TableField(value = "follower_count")
    private Long followerCount;

    /**
     * 粉丝数增长数
     */
    @TableField(value = "follower_grow")
    private Integer followerGrow;

    /**
     * 帖子数
     */
    @TableField(value = "media_count")
    private Integer mediaCount;

    /**
     * 帖子增长数
     */
    @TableField(value = "media_grow")
    private Integer mediaGrow;

    /**
     * 时间
     */
    private Integer datecode;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    /**
     * 近30天粉丝增长数
     */
    @TableField(value = "last_follower_grow")
    private Long lastFollowerGrow;

    /**
     * 近30天粉丝增长率
     */
    @TableField(value = "last_follower_grow_rate")
    private Double lastFollowerGrowRate;

    /**
     * 近7天粉丝增长数
     */
    @TableField(value = "last_week_follower_grow")
    private Long lastWeekFollowerGrow;
}
